package enums;

public enum SexEnum {

    //男
    MALE(true, "男"),
    //女
    FEMALE(false, "女");

    private boolean sexCode;
    private String alias;

    SexEnum(boolean sexCode, String alias) {
        this.sexCode = sexCode;
        this.alias = alias;
    }

    public boolean getSexCode() {
        return sexCode;
    }

    public String getAlias() {
        return alias;
    }
}
